const initialState = {
  userInfo: {}
};

const loginReducer = (state = {...initialState}, action) => {
  switch (action.type) {
    case 'login':
    case 'userInfo':
      return '';
    default:
      return state
  }
}